/*
class B {
    public int Func() {
        System.out.print("B");
        return 0;
    }
}
class D extends B {
    @Override
    public int Func() {
        System.out.print("D");
        return 0;
    }
}
public class demo {
    public static void main(String[] args) {
        B a = new B();
        B b = new D();
        a.Func();
        b.Func();
    }
}*/

 public class demo{

  /* public String name = "Person";

    int age=0;*/


}

  class Child extends demo{

    public String grade;

    public static void main1(String[] args){

        demo p = new Child();

/*        System.out.println(p.name);*/

    }

}